package org.csu.laboratoryequipment.service;

import org.csu.laboratoryequipment.common.CommonResponse;
import org.csu.laboratoryequipment.entity.User;
import static org.springframework.hateoas.mvc.ControllerLinkBuilder.linkTo;
import static org.springframework.hateoas.mvc.ControllerLinkBuilder.methodOn;

import java.util.List;

public interface UserService {
    public CommonResponse<List<User>> getUserList();

    public CommonResponse<User> getUserById(String userid);

    public CommonResponse<List<User>> deleteUserById(String userid);

    public CommonResponse<List<User>> postUser(String userid,String name,String department,int age);

    public CommonResponse<List<User>> putUser(String userid,String name,String department,int age);
}
